<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>{$_C['site_name']}</title>
	<meta name="description" content="{$_C['site_des']}">
	<meta name="keywords" content="{$_C['site_keyword']}">
	<link href="{$_C.hy_path}css/bootstrap.min.css" rel="stylesheet">
	<link href="{$_C.hy_path}css/common.css" rel="stylesheet">
	<link href="{$_C.hy_path}css/main.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/topHeader.css">

</head>
<body>
	<!-- start header -->
	{include file='../Common/header.html'}
	<!-- end header -->
	<div style="min-height: 75%;" class="container-fluid">
		{func model=index action=cat_child item=cat1 code="{$_GET['code']}"}
		<div class="col-md-3">
			<ul class="sidebar">
				<div class="hy-sidebar">
					<h3>{$cat1.name}</h3>
				</div>
				{foreach from=$cat1.child item=cat}
								<li {if $_GET['code']==$cat.code}class="active"{/if} ><a  href="{$cat.url}">{$cat.name}</a></li>
								{/foreach}
			</ul>
		</div>
		<div class="col-md-9 list-content">
			<div class="news-wrapper">
				<h3>{$cat.name}</h3>
				{foreach from=$art_list item=art}
				<div class="news-item">
					<p class="news-list-title">
					    <a href="{$art.url}">{$art.title}</a>
					 	<span class="news-list-time">{$art.created|date_format:"M d,Y"}{if $art.author}, Posted By {$art.author}{/if}</span>
					</p>
					<p class="news-list-article"><img width="40%" src="{$art.thumb}" class="news-list-pic pull-left">
						{$art.summary}
					<div class="clear"></div>
					<a target="_blank" href="{$art.url}" class="rm-btn">详情描述</a>
					</p>
				</div>
				{foreachelse}
				<p>暂无记录</p>
				{/foreach}
			</div>
			<div style="clear: both;">
				
			</div>
			<nav>
			 {$art_page}
			</nav>
			<div style="height:20px;clear: both;">
				
			</div>	
						
		</div>
	</div>

	<!-- start footer  -->
	{include file='../Common/footer.html'}
    <!-- end footer -->
	<script src="{$_C.hy_path}js/jquery-1.11.2.min.js"></script>
	<script src="{$_C.hy_path}js/bootstrap.min.js"></script>
	<script src="{$_C.hy_path}js/hammer.min.js"></script>
	<script src="{$_C.hy_path}js/jquery.hammer.js"></script>
	<script src="{$_C.hy_path}js/main.js"></script>
	<script src="{$_C.hy_path}js/topHeader.js"></script>

</body>
</html>